package com.bootdo.common.dao;

import com.bootdo.common.domain.GenTableColumnDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 代码生成业务表字段
 * @author rhgs
 * @email rhgs@163.com
 * @date 2024-01-22 14:45:00
 */
@Mapper
public interface GenTableColumnDao {

	GenTableColumnDO get(Long columnId);

	public List<GenTableColumnDO> selectDbTableColumnsByName(String tableName);
	public List<GenTableColumnDO> selectGenTableColumnListByTableId(Map<String,Object> map);

	List<GenTableColumnDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	int countSelectGenTableColumnListByTableId(Map<String,Object> map);

	int save(GenTableColumnDO genTableColumn);
	
	int update(GenTableColumnDO genTableColumn);
	
	int remove(Long column_id);
	
	int batchRemove(Long[] columnIds);
}
